package com.eCommerce.corecontract.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

public class CommandeDTO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the dateCommande
	 */
	public long getDateCommande() {
		return dateCommande;
	}
	/**
	 * @param dateCommande the dateCommande to set
	 */
	public void setDateCommande(long dateCommande) {
		this.dateCommande = dateCommande;
	}
	/**
	 * @return the dateExpirationCarte
	 */
	public long getDateExpirationCarte() {
		return dateExpirationCarte;
	}
	/**
	 * @param dateExpirationCarte the dateExpirationCarte to set
	 */
	public void setDateExpirationCarte(long dateExpirationCarte) {
		this.dateExpirationCarte = dateExpirationCarte;
	}
	/**
	 * @return the numCarte
	 */
	public String getNumCarte() {
		return numCarte;
	}
	/**
	 * @param numCarte the numCarte to set
	 */
	public void setNumCarte(String numCarte) {
		this.numCarte = numCarte;
	}
	/**
	 * @return the numCtrlCarte
	 */
	public String getNumCtrlCarte() {
		return numCtrlCarte;
	}
	/**
	 * @param numCtrlCarte the numCtrlCarte to set
	 */
	public void setNumCtrlCarte(String numCtrlCarte) {
		this.numCtrlCarte = numCtrlCarte;
	}
	/**
	 * @return the totalCommande
	 */
	public float getTotalCommande() {
		return totalCommande;
	}
	/**
	 * @param totalCommande the totalCommande to set
	 */
	public void setTotalCommande(float totalCommande) {
		this.totalCommande = totalCommande;
	}
	/**
	 * @return the clientDTO
	 */
	public ClientDTO getClientDTO() {
		return clientDTO;
	}
	/**
	 * @param clientDTO the clientDTO to set
	 */
	public void setClientDTO(ClientDTO clientDTO) {
		this.clientDTO = clientDTO;
	}
	/**
	 * @return the listOfLigneCommandeDTO
	 */
	public Set<LigneCommandeDTO> getListOfLigneCommandeDTO() {
		return listOfLigneCommandeDTO;
	}
	/**
	 * @param listOfLigneCommandeDTO the listOfLigneCommandeDTO to set
	 */
	public void setListOfLigneCommandeDTO(
			Set<LigneCommandeDTO> listOfLigneCommandeDTO) {
		this.listOfLigneCommandeDTO = listOfLigneCommandeDTO;
	}
	/**
	 * @return the modePaiement
	 */
	public String getModePaiement() {
		return modePaiement;
	}
	/**
	 * @param modePaiement the modePaiement to set
	 */
	public void setModePaiement(String modePaiement) {
		this.modePaiement = modePaiement;
	}
	private Long id;
	private long dateCommande;
	private long dateExpirationCarte;
	private String numCarte;
	private String numCtrlCarte;
	private float totalCommande;
	private ClientDTO clientDTO;
	/**
	 * 
	 */
	public CommandeDTO() {
		super();
	}
	/**
	 * @param dateCommande
	 * @param dateExpirationCarte
	 * @param numCarte
	 * @param numCtrlCarte
	 * @param totalCommande
	 * @param clientDTO
	 * @param listOfLigneCommandeDTO
	 * @param modePaiement
	 */
	public CommandeDTO(long dateCommande, long dateExpirationCarte,
			String numCarte, String numCtrlCarte, float totalCommande,
			ClientDTO clientDTO, Set<LigneCommandeDTO> listOfLigneCommandeDTO,
			String modePaiement) {
		super();
		this.dateCommande = dateCommande;
		this.dateExpirationCarte = dateExpirationCarte;
		this.numCarte = numCarte;
		this.numCtrlCarte = numCtrlCarte;
		this.totalCommande = totalCommande;
		this.clientDTO = clientDTO;
		this.listOfLigneCommandeDTO = listOfLigneCommandeDTO;
		this.modePaiement = modePaiement;
	}
	private Set<LigneCommandeDTO> listOfLigneCommandeDTO;
	private String modePaiement;
	

}
